<template>
  <div style="border:1px solid #ccc;margin:1em;padding:1em">
    {{count}},age:{{age}}
    <Son 
    v-model="count" 
    v-model:xxx="age"/>
  </div>
</template>
<script>
import { ref } from 'vue'
import Son from './Son.vue'

export default {
  name: 'App',
  components: {
    Son
  },
  setup () {
    const count = ref(10)
    const age = ref(18)
    // const onSet20 = ()=>{
    //     count.value = 20
    // }
    return { count, age  }
  }
}
</script>